package com.business.system.official.toursism.websitenews.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.seed.core.pojo.entity.SeedBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;


/**
 * @description 乌镇新闻
 * @author CodeGenerator
 * @date   2025-01-25
 * @version V1.0
 */
@Data
@TableName("official_toursism_website_news")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="official_toursism_website_news对象", description="乌镇新闻")
public class WebsiteNews extends SeedBaseEntity {
    /**封面图*/
    @Excel(name = "封面图", width = 15)
    @ApiModelProperty(value = "封面图")
    private java.lang.String newsPicture;
    /**标题*/
    @Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private java.lang.String newsTitle;
    /**内容*/
    @Excel(name = "内容", width = 15)
    @ApiModelProperty(value = "内容")
    private java.lang.String newsContent;
    /**排序*/
    @Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private java.lang.Integer sort;
    /**类型*/
    // 0 概述 1 名人 2 美食  3 新闻 4 攻略
    @Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "类型")
    private java.lang.Integer type;
    /**是否启用*/
    @Excel(name = "是否启用", width = 15, dicCode = "enable_or_not")
    @Dict(dicCode = "enable_or_not")
    @ApiModelProperty(value = "是否启用")
    private java.lang.String isEnbale;
}
